package addUI
{
	import flash.events.Event;
	import flash.events.MouseEvent;
	
	import mx.controls.Button;

	public class MyBtnEvent extends MouseEvent{
		public static const BUTTON:String = "BUTTON";
		public var button:Button = new Button;
		public function MyBtnEvent(type:String,button_:Button){
			button = button_;
			super(type);
		}
		
		override public function get bubbles():Boolean
		{
			// TODO Auto Generated method stub
			return super.bubbles;
		}
		
		override public function get cancelable():Boolean
		{
			// TODO Auto Generated method stub
			return super.cancelable;
		}
		
		override public function get currentTarget():Object
		{
			// TODO Auto Generated method stub
			return super.currentTarget;
		}
		
		override public function get eventPhase():uint
		{
			// TODO Auto Generated method stub
			return super.eventPhase;
		}
		
		override public function formatToString(className:String, ...parameters):String
		{
			// TODO Auto Generated method stub
			return super.formatToString(className, parameters);
		}
		
		override public function isDefaultPrevented():Boolean
		{
			// TODO Auto Generated method stub
			return super.isDefaultPrevented();
		}
		
		override public function preventDefault():void
		{
			// TODO Auto Generated method stub
			super.preventDefault();
		}
		
		override public function stopImmediatePropagation():void
		{
			// TODO Auto Generated method stub
			super.stopImmediatePropagation();
		}
		
		override public function stopPropagation():void
		{
			// TODO Auto Generated method stub
			super.stopPropagation();
		}
		
		override public function get target():Object
		{
			// TODO Auto Generated method stub
			return super.target;
		}
		
		
		override public function clone():Event{
			return new MyBtnEvent(type,button);
		}
		
		override public function toString():String{
			return formatToString("MyBtnEvent","type","data");
		}
		
	}
}